#! /bin/sh

echo "----------------------------------------"

# 一键删除，找到运行中的服务进程并停掉
ID=$(ps -ef | grep 'dmserver' | grep -v 'grep' | awk '{print $2}')
for pid in $ID; do
  kill -9 $pid
  echo " kill pid--- $pid success!"
done

echo "----------------------------------------"
